package com.github.HarryHook.coding2017.queue;

import java.util.Stack;

/**
 * 用两个栈来实现一个队列
 * 
 * @author liuxin
 *
 * @param <E>
 */
public class QueueWithTwoStacks<E> {
    private Stack<E> stack1;
    private Stack<E> stack2;

    public QueueWithTwoStacks() {
	stack1 = new Stack<E>();
	stack2 = new Stack<E>();
    }

    public boolean isEmpty() {
	return false;
    }

    public int size() {
	return -1;
    }

    public void enQueue(E item) {

    }

    public E deQueue() {
	return null;
    }

}
